package com.e3.basdoc.goods.client;

import com.e3.basdoc.goods.model.GoodsModel;
import com.e3.template.tgf.GFRefDialog;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;

public class GoodsRefDialog extends GFRefDialog<GoodsModel> {

	@Override
	protected String getRefDialogTitle() {
		return GoodsMessages.INSTANCE.title_goods_refdialog();
	}

	@Override
	protected TGFGridPanel<GoodsModel> createGridPanel() {
		return new GoodsGridPanel();
	}

	@Override
	protected TGFQueryDialog<GoodsModel> createQueryDialog() {
		return new GoodsQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return GoodsMessages.INSTANCE.local_name();
	}

}
